<?php if ($this->totalItemCount):?>
	<ul class="pagination pull-right">
		<li class="disabled"><a><?php echo $this->firstItemNumber . ' - ' . $this->lastItemNumber . '/' . $this->totalItemCount?></a></li>
		<?php if ($this->previous) :?>
			<li><a href="<?php echo $this->url()?>">&laquo;</a></li>
			<li><a href="<?php echo $this->url() . '?page=' . $this->previous?>">&lsaquo;</a></li>
			<?php if ($this->current > 10) :?>
				<li><a href="<?php echo $this->url() . '?page=' . ($this->previous - 10)?>"><?php echo ($this->previous - 10) ?></a></li>
			<?php endif;?>
			<?php if ($this->previous > 1) :?>
				<li><a href="<?php echo $this->url() . '?page=' . ($this->previous - 1)?>"><?php echo ($this->previous - 1) ?></a></li>
			<?php endif;?>
			<li><a href="<?php echo $this->url() . '?page=' . $this->previous?>"><?php echo $this->previous ?></a></li>
		<?php else: ?>
			<li class="disabled"><a>&laquo;</a></li>
			<li class="disabled"><a>&lsaquo;</a></li>
		<?php endif;?>
		<li class="active"><a><?php echo $this->current?></a></li>
		<?php if ($this->next) :?>
			<li><a href="<?php echo $this->url() . '?page=' . $this->next?>"><?php echo $this->next ?></a></li>
			<?php if ($this->next < $this->last) :?>
				<li><a href="<?php echo $this->url() . '?page=' . ($this->next + 1)?>"><?php echo ($this->next + 1) ?></a></li>
			<?php endif;?>
			<?php if (($this->current + 10) < $this->last) :?>
				<li><a href="<?php echo $this->url() . '?page=' . ($this->next + 10)?>"><?php echo ($this->next + 10) ?></a></li>
			<?php endif;?>
			<li><a href="<?php echo $this->url() . '?page=' . $this->next?>">&rsaquo;</a></li>
			<li><a href="<?php echo $this->url() . '?page=' . $this->last?>">&raquo;</a></li>
		<?php else: ?>
			<li class="disabled"><a>&rsaquo;</a></li>
			<li class="disabled"><a>&raquo;</a></li>
		<?php endif;?>
	</ul>
<?php endif?>
